package com.myBlog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myBlog.domain.ResponseResult;
import com.myBlog.domain.entity.Comment;


/**
 * 评论表(SgComment)表服务接口
 *
 * @author makejava
 * @since 2023-03-15 15:22:45
 */
public interface CommentService extends IService<Comment> {

    /**
     * 条件分页查询评论
     * @param articleId
     * @param pageNum
     * @param pageSize
     * @return
     */
    ResponseResult commentList(String type,Long articleId, Integer pageNum, Integer pageSize);

    /**
     * 添加评论
     * @param
     * @return
     */
    ResponseResult addComment(Comment comment);
}

